home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
c
/
bison.zip
/
README.MSC
< prev
next >
Wrap
Text File
|
1989-02-03
|
2KB
|
37 lines
This port to msc 5.1 brought to you c/o Conrad Kwok (kwok@iris.ucdavis.edu)
and Scott E. Garfinkle (smsdpg!seg@uunet.uu.net).
This version differs from the original Gnu copy in these respects:
1. Different Makefile -- tuned for unix-like make (e.g. Don Kneller's
ndmake) under DOS
2. Smaller default maximum parser table size (16386 vs 32767). You can
play with this (up or down) by changing MAXTABLE in output.c.
3. In general, output produces filenames compatible with DOS, e.g y_tab.c.
4. We do not search the environment for BISON_SIMPLE or BISON_HAIRY for
the names of the parsers. These parsers must be called simple.bsn and
hairy.bsn, and can be located in the current directory, the directory
specified by BISONPATH, or the directory specified by INIT.
Temp files get put in your TMP directory, or in the current dir, if TMP is
not set in the environment.
5. Bison puts a lot of storage on the run-time stack. Therefore, you have
to do one of the following things to simple.bsn. These suggestions are
pretty much mutually exclusive.
a. Modify the big declarations in yyparse() to be static. The ones
in question are the ones that declare arrays of size YYMAXDEPTH. Make
sure that your yyparse isn't recursive if you do this!
b. Compile your programs in either compact or large models (-AC or -AL)
with -Au (-Aw might also work) and a sufficiently large stack size
for your application, say (hex) 8000 (with either -F 8000 or
-link /ST:8000).
Scott E. Garfinkle
uunet!smsdpg!seg (preferred)
Compuserve 72077,3256 (if you must)